<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
%>

<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm id="ZMCC30"  method="POST" action="<%=actionUrl%>">
		<div id="ef_tab_y"  lastRange="98%" eftabWidth="100%" eftabType="efRoundDivTab">
			<div id="reviewing" title="待核查的问题" >
				<div id="ef_region_result" title="生产问题列表" style="overflow: scroll">
					<div id="ef_grid_result" title="生产问题列表" style="overflow: hidden;">
					</div>
				</div>
			<div id="ef_region_detail" title="生产问题核查" style="overflow: scroll"> 
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdKeyId" cname="主键" etc=" "/>			
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdRecordId" cname="生产问题记录ID" etc=" "/>
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdRecordHandleId" cname="生产问题处理ID" etc=" "/>
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdRecordModifyId" cname="生产问题整改ID" etc=" "/>
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdCreateTime" cname="创建时间"/>
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdIsRepeat" cname="是否重复问题" etc=" "/>
					<!-- <EF:EFInput blockId="detail" row="0" ename="fdIsPenalty" cname="是否罚款" etc=" "/> -->
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdRecheckPeopleId" cname="复查人ID" etc=" "/>
					<EF:EFInput blockId="detail" row="0" type="hidden" ename="fdRecheckerDepartment" cname="复查部门" etc=" "/>
					<table width="100%">  
						<tr>   
							<td nowrap width="10%" align="right">复查部门</td><td nowrap width="23%">
								<EF:EFSelect blockId="detail" row="0" ename="fdRecheckerDepartmentId" etc="disabled='disabled'">
									<EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
								</EF:EFSelect>
							</td> 
							<td nowrap width="10%" align="right">复查日期</td><td nowrap width="23%">
							<EF:EFInput blockId="detail" row="0" type="text" ename="fdRecheckDate" etc="readonly='readonly'"/></td>  
							<td nowrap width="10%" align="right">复查人</td><td nowrap width="23%">
							<EF:EFInput blockId="detail" row="0" type="text" ename="fdRecheckPeople" etc="readonly='readonly'"/></td>  
						</tr>
						<tr>   
							<td nowrap width="10%" align="right">是否重新整改</td><td nowrap width="23%">
								<EF:EFSelect blockId="detail" row="0" ename="fdIsRedo">
									<EF:EFOption label="否" value="否"></EF:EFOption> 
									<EF:EFOption label="是" value="是"></EF:EFOption> 
								</EF:EFSelect>
							</td>  
							<td nowrap width="10%" align="right">是否罚款</td><td nowrap width="23%">
								<EF:EFSelect blockId="detail" row="0" ename="fdIsPenalty">
									<EF:EFOption label="否" value="否"></EF:EFOption> 
									<EF:EFOption label="是" value="是"></EF:EFOption> 
								</EF:EFSelect>
							</td>  
							<td nowrap width="10%" align="right">是否已缴罚款</td><td nowrap width="23%">
								<EF:EFSelect blockId="detail" row="0" ename="fdIsSubmit">
									<EF:EFOption label="无罚款" value="无"></EF:EFOption> 
									<EF:EFOption label="否" value="否"></EF:EFOption> 
									<EF:EFOption label="是" value="是"></EF:EFOption> 
								</EF:EFSelect>
							</td> 
						</tr>
						<tr>   
							<td nowrap width="10%" align="right">复查情况描述</td><td nowrap  width="80%" colspan="5">
							<EF:EFInput blockId="detail" row="0" type="textarea" ename="fdCondition"  etc="rows='6' cols='180' regex='/^.{0,100}$/' errorPrompt='输入0~100个字符' "/></td>  
						</tr> 
						<tr>   
							<td nowrap width="10%" align="right">重新整改意见</td><td nowrap  width="80%" colspan="5">
							<EF:EFInput blockId="detail" row="0" type="textarea" ename="fdRedoSuggestion"  etc="rows='6' cols='180' regex='/^.{0,100}$/' errorPrompt='输入0~100个字符' "/></td>  
						</tr> 
					</table>
				</div>
			</div>
			<div id="feedbacked" title="已核查的问题" >
				<iframe id="_right_iframe" src="about:blank" width="100%" height="580px" frameborder="no" border="0"> 
					该页面使用了框架技术，但是您的浏览器不支持框架，请升级您的浏览器以便正常访问。 
				</iframe> 
			</div>
		</div>
		<EF:EFRegion/>
		<EF:EFGrid blockId="result" autoDraw="no" readonly="true" paintId="ef_grid_result" style="navigationBar:true;operationBar:false" ajax="true" rowDetailDivID="result_detail_div">
			<EF:EFColumn ename="fdRecordId" cname="生产问题记录ID" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdRecordHandleId" cname="生产问题处理ID" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdRecordModifyId" cname="生产问题反馈ID" visible="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdIsRepeat" cname="是否重复问题" visible="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdIsPenalty" cname="是否罚款" visible="false" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdProblemStatus" align="center" cname="问题状态" width="80" blockName="cmes.cp.problemStatus" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdProblemDate" align="center" cname="发生日期" width="80" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdProblemTypeId" align="center" cname="问题类型" width="80" blockName="cmes.cp.problemType" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFComboColumn ename="fdProblemLevelId" align="center" cname="问题级别" width="80" blockName="cmes.cp.problemLevel" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFComboColumn ename="fdProblemOrigin" align="center" cname="问题来源" width="120" blockName="cmes.cp.problemOrigin" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFComboColumn ename="fdBusinessDepartmentId" align="center" cname="责任部门" width="150" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdBusinessMan" align="center" cname="责任人" width="80" ></EF:EFColumn>
			<%-- <EF:EFComboColumn ename="fdRecheckerDepartmentId" align="center" cname="复查单位" width="150" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" ></EF:EFComboColumn> --%>
			<EF:EFColumn ename="fdProblemPlace" cname="发生地点" width="150" ></EF:EFColumn>
			<EF:EFColumn ename="fdProblemDescription" cname="问题描述" width="180" editType="textarea"></EF:EFColumn>
			<EF:EFColumn ename="fdSuggestion" cname="处理意见" width="200" editType="textarea"></EF:EFColumn>
			<EF:EFColumn ename="fdFeedback" cname="整改反馈" width="200" editType="textarea"></EF:EFColumn>
		</EF:EFGrid>
		<EF:EFTab tabId="y" action="fundiv"/> 
		<script type="text/javascript"> 
			var frames = $("#ef_tab_y iframe");
			if(window.parent != window && window.parent.hideSubPageHead == true) {
				$("#ef_tab_y").css("padding-top", "80px").css("padding-left", "4px");
			}
			onSubPageLoad = function(wnd) {
				for(var i=0; i<frames.length; i++) {
					if (frames[i].contentWindow == wnd) {
						adjustFrameHeight(frames[i]);
						break;
					}
				}
			}
			adjustFrameHeight = function(frame) {
				var oldHeight = $(frame).height();
				$(frame).css("border", "0");
				$("#jquery_tab_div_content").css("border", "0");
				var height = frame.contentWindow.document.body.scrollHeight;
				if (height > oldHeight) {
					$(frame).css("height", height);
				}
				if(window.parent != window && window.parent.hideSubPageHead == true) {
					var pFrames = window.parent.frames;
					for(var i=0; i<pFrames.length; i++) {
						if (pFrames[i].contentWindow == window) {
							window.parent.adjustFrameHeight(pFrames[i]);
							break;
						}
					}
				}
			}
			</script>
	</EF:EFForm>
</EF:EFBody>
</html>
